MailPoet\API\JSON\v1\Newsletters S

Total Complexity 50
Dependencies 27
Dependents 2
Total lines 373
Lines of code 269
Logical lines of code 140
Comment lines 18
Methods 16
Properties 16

Methods 16

Method Rating Maintainability Complexity Lines of code
setStatus()
B
40 17 56
sendPreview()
S
54 5 21
bulkAction()
S
56 4 17
showPreview()
S
55 3 19
listing()
S
54 2 20
getWithStats()
S
56 2 18
get()
S
58 2 15
restore()
S
59 2 15
trash()
S
59 2 15
duplicate()
S
59 2 15
delete()
S
60 2 13
__construct()
S
57 1 17
create()
S
65 2 9
getNewsletter()
S
72 2 5
save()
S
63 1 10
getViewInBrowserUrl()
S
75 1 4